SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 60590: Performance is slow or non-responsive when publishing SAS® Business Rules Manager rule flows that contain a large number of rules

DetailsAboutRate It

In SAS Business Rules Manager, when publishing a rule flow that contains a large number of rules, you might experience increased processing time or a time-out. To speed performance, execute the appropriate script to create new indexes.  Copy the following code to an appropriate SQL environment for your system.

 

  • Oracle databases: 
 -- Add indexes for oracle datastore
-- ** NOTE ** set var schemanm to schema containing the DCM/BRM tables
def schemanm='YOUR_SCHEMA_NAME';
CREATE INDEX &schemanm..RULE_IX01 ON &schemanm..DCM_RULE
(RULE_SET_VERSION_SK   ASC);
CREATE INDEX &schemanm..RULE_ACTION_IX01 ON &schemanm..DCM_RULE_ACTION
(RULE_SK   ASC);
CREATE INDEX &schemanm..RULE_ACTION_X_VOCAB_TERM_IX01 ON &schemanm..DCM_RULE_ACTION_X_VOCAB_TERM
(RULE_ACTION_SK   ASC,VOCAB_TERM_SK   ASC);
CREATE INDEX &schemanm..RULE_COND_X_VOCAB_TERM_IX01 ON &schemanm..DCM_RULE_COND_X_VOCAB_TERM
(RULE_COND_SK   ASC,VOCAB_TERM_SK   ASC);
CREATE INDEX &schemanm..RULE_CONDITION_IX01 ON &schemanm..DCM_RULE_CONDITION
(RULE_SK   ASC);
  • Postgres databases:
 -- Add indexes for postgres datastore
CREATE  INDEX RULE_IX01 ON public.DCM_RULE
(RULE_SET_VERSION_SK   ASC);
CREATE  INDEX RULE_ACTION_IX01 ON public.DCM_RULE_ACTION
(RULE_SK   ASC);
CREATE  INDEX RULE_ACTION_X_VOCAB_TERM_IX01 ON public.DCM_RULE_ACTION_X_VOCAB_TERM
(RULE_ACTION_SK   ASC,VOCAB_TERM_SK   ASC);
CREATE  INDEX RULE_COND_X_VOCAB_TERM_IX01 ON public.DCM_RULE_COND_X_VOCAB_TERM
(RULE_COND_SK   ASC,VOCAB_TERM_SK   ASC);
CREATE  INDEX RULE_CONDITION_IX01 ON public.DCM_RULE_CONDITION
(RULE_SK   ASC);


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Business Rules ManagerMicrosoft Windows 103.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows Server 20083.19.4 TS1M3
Microsoft Windows Server 2008 R23.19.4 TS1M3
Microsoft Windows Server 2008 for x643.19.4 TS1M3
Microsoft Windows Server 2012 Datacenter3.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter3.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows Server 2012 R2 Std3.13.2_M19.4 TS1M39.4 TS1M6
Windows 7 Enterprise x643.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows Server 2012 Std3.13.2_M19.4 TS1M39.4 TS1M6
Windows 7 Enterprise 32 bit3.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows 8.1 Pro x643.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows 8.1 Pro 32-bit3.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows 8.1 Enterprise x643.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows 8.1 Enterprise 32-bit3.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows 8 Pro x643.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows 8 Pro 32-bit3.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows 8 Enterprise x643.13.2_M19.4 TS1M39.4 TS1M6
Microsoft Windows 8 Enterprise 32-bit3.13.2_M19.4 TS1M39.4 TS1M6
Microsoft® Windows® for x643.13.2_M19.4 TS1M39.4 TS1M6
Windows 7 Home Premium 32 bit3.13.2_M19.4 TS1M39.4 TS1M6
Windows 7 Home Premium x643.13.2_M19.4 TS1M39.4 TS1M6
Windows 7 Professional 32 bit3.13.2_M19.4 TS1M39.4 TS1M6
Windows 7 Professional x643.13.2_M19.4 TS1M39.4 TS1M6
Windows 7 Ultimate 32 bit3.13.2_M19.4 TS1M39.4 TS1M6
Windows 7 Ultimate x643.13.2_M19.4 TS1M39.4 TS1M6
64-bit Enabled AIX3.13.2_M19.4 TS1M39.4 TS1M6
64-bit Enabled Solaris3.13.2_M19.4 TS1M39.4 TS1M6
HP-UX IPF3.13.2_M19.4 TS1M39.4 TS1M6
Linux for x643.13.2_M19.4 TS1M39.4 TS1M6
Solaris for x643.13.2_M19.4 TS1M39.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.